package com.jonluo.model;

import java.io.Serializable;
import java.util.List;
/**
 * @author jonluo
 * Date 2017/9/15
 */
public class SysDept implements Serializable {
    /**
    * id
    */
    private String deptId;

    /**
    * 上级部门ID，一级部门为0
    */
    private String parentId;
    /**
     * 上级部门名称
     */
    private String parentName;

    /**
    * 部门名称
    */
    private String name;

    /**
    * 排序
    */
    private Integer orderNum;

    /**
    * 是否删除  -1：已删除  0：正常
    */
    private Byte delFlag;

    /**
     * ztree属性
     */
    private Boolean open;

    private List<?> list;

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public Byte getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Byte delFlag) {
        this.delFlag = delFlag;
    }

    public Boolean getOpen() {
        return open;
    }

    public void setOpen(Boolean open) {
        this.open = open;
    }

    public List<?> getList() {
        return list;
    }

    public void setList(List<?> list) {
        this.list = list;
    }


}